package com.zm.demo.sc.mybatisplus.service;

import com.zm.demo.sc.mybatisplus.po.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface UserService {


    List<User> getUsers();
    int updateById(User entity);
    int updateBatch(List<User>users);
    int updateBatch1(List<User>users);
}
